<?

$_ID = $this->getId();

if($this->loaddefaultcss){
    echo CHtml::css("
    div.miniprofile{$_ID}-form{
    }
    ");
}
?>

<div class="miniprofile<?=$_ID?>-form">
    <b><?=$USER->name?> <?=empty($USER->nick) ? '' : '['.$USER->nick.']'?> <?=$USER->lname?></b><br />
    <br />
    <a href="<?=URL::L('/user')?>" class="profile"><?=$this->t('My profile')?></a><br />
    <br />
    <a href="<?=URL::L('/user/logout')?>" class="logout"><?=$this->t('Logout')?></a>
</div>
